package com.lyy.dimens_tool

import java.io.File

object DimenGenerator {
    /**
     * 设计稿尺寸(将自己设计师的设计稿的宽度填入)
     */
    private const val DESIGN_WIDTH = 375

    @JvmStatic
    fun main(args: Array<String>) {
        val hasDimensFile = DimensParse.parseDimesXml()

        val values = DimenTypes.values()
        for (value in values) {
            val file = File("")
            MakeUtils.makeAll(DESIGN_WIDTH, value, "${file.absolutePath}/dimens_tool/src/main/res/", hasDimensFile)
        }
    }
}